<template>
  <div style="position: center;margin-left: 5px">
    <img src="../assets/logo.png" alt=""
         style="height: 40px;
         width: 40px" @click="goToPage">
    <span style="margin-left: 10px;" @click="goToPage">医疗辅助诊断系统</span>
    <el-input placeholder="请输入关键词"
              style="margin-left: 100px;
               width: 300px;"

            ></el-input>
    <el-button type="primary"
               icon="el-icon-search"
               style="width: 50px"
               @click="search">搜索</el-button>
  </div>
</template>

<script>
export default {
  name: "the-header",
  data(){
    return{
      inputColor:'#5c8fc4'
    }
  },
  methods:{
    goToPage(){
      this.$router.push('/');
    },
    search(){

    }

  }
}
</script>

<style scoped>

</style>